[INFO] cloning repository https://github.com/lugotardo/Ferrugem
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lugotardo/Ferrugem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flugotardo%2FFerrugem", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flugotardo%2FFerrugem'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 50f76fd1153200935b763fa92f611451a79b98c4
[INFO] fixing lugotardo/Ferrugem against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flugotardo%2FFerrugem" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/lugotardo/Ferrugem
[INFO] finished tweaking git repo https://github.com/lugotardo/Ferrugem
[INFO] tweaked toml for git repo https://github.com/lugotardo/Ferrugem written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lugotardo/Ferrugem on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lugotardo/Ferrugem already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fbb8c873c79c3740e1078139fd9f8c7c9e441894f2b1d4563afcbd58ea41db9d
[INFO] running `Command { std: "docker" "start" "fbb8c873c79c3740e1078139fd9f8c7c9e441894f2b1d4563afcbd58ea41db9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fbb8c873c79c3740e1078139fd9f8c7c9e441894f2b1d4563afcbd58ea41db9d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fbb8c873c79c3740e1078139fd9f8c7c9e441894f2b1d4563afcbd58ea41db9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fbb8c873c79c3740e1078139fd9f8c7c9e441894f2b1d4563afcbd58ea41db9d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating kernel/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling kernel v0.1.0 (/opt/rustwide/workdir/kernel)
[INFO] [stderr]    Migrating kernel/build.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating kernel/src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed kernel/src/arch/x86_64/idt.rs (4 fixes)
[INFO] [stderr]        Fixed kernel/src/arch/x86_64/port.rs (4 fixes)
[INFO] [stderr]        Fixed kernel/src/arch/mod.rs (2 fixes)
[INFO] [stderr]        Fixed kernel/src/memory/heap.rs (2 fixes)
[INFO] [stderr]        Fixed kernel/src/arch/x86_64/context.rs (1 fix)
[INFO] [stderr]        Fixed kernel/src/arch/x86_64/console.rs (3 fixes)
[INFO] [stderr]        Fixed kernel/src/main.rs (1 fix)
[INFO] [stderr]        Fixed kernel/src/scheduler/mod.rs (1 fix)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/arch/x86_64/gdt.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |         TSS.rsp0 = KERNEL_STACK.as_ptr().add(KERNEL_STACK.len()) as u64;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/arch/x86_64/gdt.rs:83:46
[INFO] [stdout]    |
[INFO] [stdout] 83 |         TSS.rsp0 = KERNEL_STACK.as_ptr().add(KERNEL_STACK.len()) as u64;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/arch/x86_64/gdt.rs:90:23
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let gdt_ptr = GDT.as_ptr() as *const u64;
[INFO] [stdout]    |                       ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/arch/x86_64/gdt.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let tss_base = &TSS as *const Tss as u64;
[INFO] [stdout]    |                        ^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let tss_base = &raw const TSS as *const Tss as u64;
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> kernel/src/arch/x86_64/gdt.rs:108:44
[INFO] [stdout]     |
[INFO] [stdout] 108 |             limit: (core::mem::size_of_val(&FULL_GDT) - 1) as u16,
[INFO] [stdout]     |                                            ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 108 |             limit: (core::mem::size_of_val(&raw const FULL_GDT) - 1) as u16,
[INFO] [stdout]     |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> kernel/src/arch/x86_64/gdt.rs:109:19
[INFO] [stdout]     |
[INFO] [stdout] 109 |             base: FULL_GDT.as_ptr() as u64,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:225:44
[INFO] [stdout]     |
[INFO] [stdout] 225 |             limit: (core::mem::size_of_val(&IDT) - 1) as u16,
[INFO] [stdout]     |                                            ^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 225 |             limit: (core::mem::size_of_val(&raw const IDT) - 1) as u16,
[INFO] [stdout]     |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:226:20
[INFO] [stdout]     |
[INFO] [stdout] 226 |             base:  IDT.as_ptr() as u64,
[INFO] [stdout]     |                    ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/arch/x86_64/paging.rs:33:28
[INFO] [stdout]    |
[INFO] [stdout] 33 |         PML4.entries[0] = (PDPT.entries.as_ptr() as u64) | PAGE_PRESENT | PAGE_WRITABLE;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/arch/x86_64/paging.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let pml4_addr = PML4.entries.as_ptr() as u64;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/drivers/keyboard/arch/x86_64.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         INPUT.push(sc);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/drivers/keyboard/arch/x86_64.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 |     unsafe { INPUT.pop() }
[INFO] [stdout]    |              ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/drivers/serial/arch/x86_64.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             INPUT.push(port::inb(COM1));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/drivers/serial/arch/x86_64.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |         if let Some(b) = INPUT.pop() {
[INFO] [stdout]    |                          ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         ROOT_FS.init_root();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         ROOT_FS.mkdir("/etc",  0, 0, 0, 0o755);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         ROOT_FS.mkdir("/home", 0, 0, 0, 0o755);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         ROOT_FS.mkdir("/tmp",  0, 0, 0, 0o777);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 1.00s
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         ROOT_FS.write("/etc/hostname", 0, b"ferrum\n",           0, 0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: kernel v0.1.0 (/opt/rustwide/workdir/kernel) updating edition from 2021 to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         ROOT_FS.write("/etc/motd",     0, b"Welcome to Ferrum!\n", 0, 0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling kernel v0.1.0 (/opt/rustwide/workdir/kernel)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         ROOT_FS.mkdir("/home/ferrum",  0, 1000, 1000, 0o755);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { ROOT_FS.write(path, 0, data, 0, 0) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { ROOT_FS.read_at(path, 0, 0, 0) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |     unsafe { ROOT_FS.mkdir(path, cwd, uid, gid, mode) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |     unsafe { ROOT_FS.rmdir(path, cwd, uid, gid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { ROOT_FS.touch(path, cwd, uid, gid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |     unsafe { ROOT_FS.unlink(path, cwd, uid, gid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |     unsafe { ROOT_FS.write(path, cwd, data, uid, gid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |     unsafe { ROOT_FS.read_at(path, cwd, uid, gid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe { ROOT_FS.chmod(path, cwd, mode, caller_uid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { ROOT_FS.chown(path, cwd, new_uid, new_gid, caller_uid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 |     unsafe { ROOT_FS.resolve(path, cwd) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:75:14
[INFO] [stdout]    |
[INFO] [stdout] 75 |     unsafe { ROOT_FS.inode_path(idx, buf) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 |     unsafe { ROOT_FS.is_dir(path, cwd) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 |     unsafe { ROOT_FS.list_dir(path, cwd, f) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:92:28
[INFO] [stdout]    |
[INFO] [stdout] 92 |         if let Some(idx) = ROOT_FS.resolve(path, cwd) {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:93:34
[INFO] [stdout]    |
[INFO] [stdout] 93 |             if let Some(inode) = ROOT_FS.get_inode(idx) {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> kernel/src/fs/mod.rs:103:14
[INFO] [stdout]     |
[INFO] [stdout] 103 |     unsafe { ROOT_FS.rename(src, dst, cwd, uid, gid) }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/memory/mod.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     unsafe { BUMP.reset(); }
[INFO] [stdout]    |              ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/memory/mod.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |     unsafe { BUMP.alloc(pages * 4096) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/memory/heap.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let h = HEAP_MEM.as_mut_ptr() as *mut Header;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> kernel/src/scheduler/mod.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |         for (i, slot) in TASKS.iter().enumerate() {
[INFO] [stdout]     |                          ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `handle_irq`, `print_str`, `read_byte_blocking`, and `write_byte`
[INFO] [stdout]  --> kernel/src/drivers/serial/mod.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use arch::{init, write_byte, print_str, handle_irq, read_byte, read_byte_blocking};
[INFO] [stdout]   |                      ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InodeKind`
[INFO] [stdout]  --> kernel/src/fs/mod.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::vfs::{RamFs, InodeKind};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> kernel/src/main.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![feature(naked_functions)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `entropy_seed` is never used
[INFO] [stdout]    --> kernel/src/arch/mod.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub fn entropy_seed() -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Timer` is never used
[INFO] [stdout]    --> kernel/src/arch/mod.rs:148:11
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub trait Timer {
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `InterruptController` is never used
[INFO] [stdout]    --> kernel/src/arch/mod.rs:153:11
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub trait InterruptController {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Console` is never used
[INFO] [stdout]    --> kernel/src/arch/mod.rs:159:11
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub trait Console {
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serial_try_read` is never used
[INFO] [stdout]   --> kernel/src/arch/x86_64/console.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn serial_try_read() -> Option<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TssDescriptor` is never constructed
[INFO] [stdout]   --> kernel/src/arch/x86_64/gdt.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct TssDescriptor {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KERNEL_CODE_SEL` is never used
[INFO] [stdout]    --> kernel/src/arch/x86_64/gdt.rs:137:11
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub const KERNEL_CODE_SEL: u16 = 0x08;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KERNEL_DATA_SEL` is never used
[INFO] [stdout]    --> kernel/src/arch/x86_64/gdt.rs:138:11
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub const KERNEL_DATA_SEL: u16 = 0x10;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USER_CODE_SEL` is never used
[INFO] [stdout]    --> kernel/src/arch/x86_64/gdt.rs:139:11
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub const USER_CODE_SEL: u16 = 0x18 | 3;
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USER_DATA_SEL` is never used
[INFO] [stdout]    --> kernel/src/arch/x86_64/gdt.rs:140:11
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub const USER_DATA_SEL: u16 = 0x20 | 3;
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mask` is never used
[INFO] [stdout]   --> kernel/src/arch/x86_64/pic.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn mask(irq: u8) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `outw` is never used
[INFO] [stdout]   --> kernel/src/arch/x86_64/port.rs:27:15
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub unsafe fn outw(port: u16, val: u16) { unsafe {
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inw` is never used
[INFO] [stdout]   --> kernel/src/arch/x86_64/port.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub unsafe fn inw(port: u16) -> u16 { unsafe {
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]   --> kernel/src/drivers/ring_buf.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<const N: usize> RingBuf<N> {
[INFO] [stdout]    | ------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LSR_TX_EMPTY` is never used
[INFO] [stdout]   --> kernel/src/drivers/serial/arch/x86_64.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const LSR_TX_EMPTY: u8 = 0x20;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_byte` is never used
[INFO] [stdout]   --> kernel/src/drivers/serial/arch/x86_64.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn write_byte(b: u8) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_str` is never used
[INFO] [stdout]   --> kernel/src/drivers/serial/arch/x86_64.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn print_str(s: &str) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_irq` is never used
[INFO] [stdout]   --> kernel/src/drivers/serial/arch/x86_64.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn handle_irq() {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_byte_blocking` is never used
[INFO] [stdout]   --> kernel/src/drivers/serial/arch/x86_64.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn read_byte_blocking() -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write` is never used
[INFO] [stdout]   --> kernel/src/fs/mod.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn write(path: &str, data: &[u8]) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read` is never used
[INFO] [stdout]   --> kernel/src/fs/mod.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn read(path: &str) -> Option<&'static [u8]> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pipe` is never constructed
[INFO] [stdout]  --> kernel/src/ipc/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Pipe {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `write`, and `read` are never used
[INFO] [stdout]   --> kernel/src/ipc/mod.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Pipe {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 10 |     pub const fn new() -> Self {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn write(&mut self, data: &[u8]) -> usize {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn read(&mut self, buf: &mut [u8]) -> usize {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `alloc_pages` is never used
[INFO] [stdout]   --> kernel/src/memory/mod.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn alloc_pages(pages: usize) -> Option<usize> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `free_pages` is never used
[INFO] [stdout]   --> kernel/src/memory/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn free_pages(_addr: usize, _pages: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `end` is never read
[INFO] [stdout]  --> kernel/src/memory/bump.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct BumpAllocator {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] 5 |     start:   usize,
[INFO] [stdout] 6 |     end:     usize,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `alloc` and `used` are never used
[INFO] [stdout]   --> kernel/src/memory/bump.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl BumpAllocator {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn alloc(&mut self, size: usize) -> Option<usize> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn used(&self) -> usize {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_FRAMES` is never used
[INFO] [stdout]  --> kernel/src/memory/bitmap.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const MAX_FRAMES: usize = 131072; // 128 MiB / 4 KiB
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `BITMAP` is never used
[INFO] [stdout]  --> kernel/src/memory/bitmap.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | static mut BITMAP: [u64; MAX_FRAMES / 64] = [0u64; MAX_FRAMES / 64];
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TOTAL_FRAMES` is never used
[INFO] [stdout]  --> kernel/src/memory/bitmap.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | static mut TOTAL_FRAMES: usize = 0;
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `FREE_FRAMES` is never used
[INFO] [stdout]  --> kernel/src/memory/bitmap.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | static mut FREE_FRAMES: usize = 0;
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init` is never used
[INFO] [stdout]   --> kernel/src/memory/bitmap.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn init(mem_start: usize, mem_end: usize) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `alloc_frame` is never used
[INFO] [stdout]   --> kernel/src/memory/bitmap.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn alloc_frame() -> Option<usize> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `free_frame` is never used
[INFO] [stdout]   --> kernel/src/memory/bitmap.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn free_frame(frame: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `frame_to_addr` is never used
[INFO] [stdout]   --> kernel/src/memory/bitmap.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn frame_to_addr(frame: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `addr_to_frame` is never used
[INFO] [stdout]   --> kernel/src/memory/bitmap.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn addr_to_frame(addr: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `free_count` is never used
[INFO] [stdout]   --> kernel/src/memory/bitmap.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn free_count() -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ETHERTYPE_ARP` is never used
[INFO] [stdout]  --> kernel/src/net/ethernet.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const ETHERTYPE_ARP:  u16 = 0x0806;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ETHERTYPE_IPV4` is never used
[INFO] [stdout]  --> kernel/src/net/ethernet.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const ETHERTYPE_IPV4: u16 = 0x0800;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MacAddr` is never constructed
[INFO] [stdout]  --> kernel/src/net/ethernet.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct MacAddr(pub [u8; 6]);
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `BROADCAST` and `ZERO` are never used
[INFO] [stdout]   --> kernel/src/net/ethernet.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl MacAddr {
[INFO] [stdout]    | ------------ associated constants in this implementation
[INFO] [stdout] 10 |     pub const BROADCAST: Self = MacAddr([0xFF; 6]);
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 11 |     pub const ZERO:      Self = MacAddr([0x00; 6]);
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EtherFrame` is never constructed
[INFO] [stdout]   --> kernel/src/net/ethernet.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct EtherFrame<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse` is never used
[INFO] [stdout]   --> kernel/src/net/ethernet.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn parse(buf: &[u8]) -> Option<(MacAddr, MacAddr, u16, &[u8])> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build` is never used
[INFO] [stdout]   --> kernel/src/net/ethernet.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn build(dst: MacAddr, src: MacAddr, etype: u16, payload: &[u8], out: &mut [u8]) -> usize {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Ipv4Addr` is never used
[INFO] [stdout]  --> kernel/src/net/arp.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type Ipv4Addr = [u8; 4];
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTYPE_ETHERNET` is never used
[INFO] [stdout]  --> kernel/src/net/arp.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const HTYPE_ETHERNET: u16 = 1;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PTYPE_IPV4` is never used
[INFO] [stdout]  --> kernel/src/net/arp.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const PTYPE_IPV4:     u16 = 0x0800;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HLEN` is never used
[INFO] [stdout]  --> kernel/src/net/arp.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const HLEN: u8 = 6;
[INFO] [stdout]   |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PLEN` is never used
[INFO] [stdout]   --> kernel/src/net/arp.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const PLEN: u8 = 4;
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OP_REQUEST` is never used
[INFO] [stdout]   --> kernel/src/net/arp.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const OP_REQUEST: u16 = 1;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OP_REPLY` is never used
[INFO] [stdout]   --> kernel/src/net/arp.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const OP_REPLY:   u16 = 2;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArpPacket` is never constructed
[INFO] [stdout]   --> kernel/src/net/arp.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ArpPacket {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse` is never used
[INFO] [stdout]   --> kernel/src/net/arp.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn parse(buf: &[u8]) -> Option<ArpPacket> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build` is never used
[INFO] [stdout]   --> kernel/src/net/arp.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn build(pkt: &ArpPacket, out: &mut [u8]) -> usize {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PROTO_ICMP` is never used
[INFO] [stdout]  --> kernel/src/net/ipv4.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const PROTO_ICMP: u8 = 1;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PROTO_UDP` is never used
[INFO] [stdout]  --> kernel/src/net/ipv4.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const PROTO_UDP:  u8 = 17;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PROTO_TCP` is never used
[INFO] [stdout]  --> kernel/src/net/ipv4.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const PROTO_TCP:  u8 = 6;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Ipv4Addr` is never used
[INFO] [stdout]  --> kernel/src/net/ipv4.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type Ipv4Addr = [u8; 4];
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ipv4Header` is never constructed
[INFO] [stdout]  --> kernel/src/net/ipv4.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Ipv4Header {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse` is never used
[INFO] [stdout]   --> kernel/src/net/ipv4.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn parse(buf: &[u8]) -> Option<(Ipv4Header, &[u8])> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build` is never used
[INFO] [stdout]   --> kernel/src/net/ipv4.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn build(hdr: &Ipv4Header, payload: &[u8], out: &mut [u8]) -> usize {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checksum` is never used
[INFO] [stdout]   --> kernel/src/net/ipv4.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn checksum(data: &[u8]) -> u16 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_ECHO_REQUEST` is never used
[INFO] [stdout]  --> kernel/src/net/icmp.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const TYPE_ECHO_REQUEST: u8 = 8;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_ECHO_REPLY` is never used
[INFO] [stdout]  --> kernel/src/net/icmp.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const TYPE_ECHO_REPLY:   u8 = 0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_echo` is never used
[INFO] [stdout]  --> kernel/src/net/icmp.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn parse_echo(buf: &[u8]) -> Option<(u16, u16, &[u8])> {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_reply` is never used
[INFO] [stdout]   --> kernel/src/net/icmp.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn build_reply(id: u16, seq: u16, data: &[u8], out: &mut [u8]) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse` is never used
[INFO] [stdout]  --> kernel/src/net/udp.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn parse(buf: &[u8]) -> Option<(u16, u16, &[u8])> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build` is never used
[INFO] [stdout]   --> kernel/src/net/udp.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn build(src: u16, dst: u16, payload: &[u8], out: &mut [u8]) -> usize {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TcpState` is never used
[INFO] [stdout]  --> kernel/src/net/tcp.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum TcpState {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLAG_FIN` is never used
[INFO] [stdout]   --> kernel/src/net/tcp.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const FLAG_FIN: u8 = 0x01;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLAG_SYN` is never used
[INFO] [stdout]   --> kernel/src/net/tcp.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const FLAG_SYN: u8 = 0x02;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLAG_RST` is never used
[INFO] [stdout]   --> kernel/src/net/tcp.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const FLAG_RST: u8 = 0x04;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLAG_PSH` is never used
[INFO] [stdout]   --> kernel/src/net/tcp.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const FLAG_PSH: u8 = 0x08;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLAG_ACK` is never used
[INFO] [stdout]   --> kernel/src/net/tcp.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const FLAG_ACK: u8 = 0x10;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse` is never used
[INFO] [stdout]   --> kernel/src/net/tcp.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn parse(buf: &[u8]) -> Option<(u16, u16, u32, u32, u8, &[u8])> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Running` and `Blocked` are never constructed
[INFO] [stdout]  --> kernel/src/process/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum TaskState {
[INFO] [stdout]   |          --------- variants in this enum
[INFO] [stdout] 5 |     Ready,
[INFO] [stdout] 6 |     Running,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 7 |     Blocked,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `TaskState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ppid` and `context` are never read
[INFO] [stdout]   --> kernel/src/process/mod.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Task {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 29 |     pub pid:        u64,
[INFO] [stdout] 30 |     pub ppid:       u64,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 31 |     pub state:      TaskState,
[INFO] [stdout] 32 |     pub context:    CpuContext,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Task` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> kernel/src/process/mod.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Task {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 43 |     pub fn new(ip: u64, sp: u64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spawn` is never used
[INFO] [stdout]    --> kernel/src/scheduler/mod.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn spawn(task: Task) -> Option<usize> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `task_count` is never used
[INFO] [stdout]    --> kernel/src/scheduler/mod.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub fn task_count() -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Caps` is never used
[INFO] [stdout]  --> kernel/src/security/mod.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub type Caps = u64;
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CAP_ROOT` is never used
[INFO] [stdout]  --> kernel/src/security/mod.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const CAP_ROOT:       Caps = 1 << 0;
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CAP_KILL` is never used
[INFO] [stdout]  --> kernel/src/security/mod.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const CAP_KILL:       Caps = 1 << 1;
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CAP_NET_BIND` is never used
[INFO] [stdout]  --> kernel/src/security/mod.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const CAP_NET_BIND:   Caps = 1 << 2;
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CAP_SYS_ADMIN` is never used
[INFO] [stdout]  --> kernel/src/security/mod.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const CAP_SYS_ADMIN:  Caps = 1 << 3;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CAP_FS_WRITE` is never used
[INFO] [stdout]   --> kernel/src/security/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const CAP_FS_WRITE:   Caps = 1 << 4;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> kernel/src/security/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn check(caps: Caps, required: Caps) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aslr_offset` is never used
[INFO] [stdout]   --> kernel/src/security/mod.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn aslr_offset() -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SYS_OPEN` is never used
[INFO] [stdout]  --> kernel/src/syscall/mod.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const SYS_OPEN:   usize = 2;
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SYS_CLOSE` is never used
[INFO] [stdout]  --> kernel/src/syscall/mod.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const SYS_CLOSE:  usize = 3;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SYS_FORK` is never used
[INFO] [stdout]  --> kernel/src/syscall/mod.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const SYS_FORK:   usize = 57;
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SYS_EXECVE` is never used
[INFO] [stdout]   --> kernel/src/syscall/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const SYS_EXECVE: usize = 59;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SYS_UNAME` is never used
[INFO] [stdout]   --> kernel/src/syscall/mod.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const SYS_UNAME:  usize = 63;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SeekFrom` is never used
[INFO] [stdout]  --> kernel/src/vfs/mod.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum SeekFrom {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FileSystem` is never used
[INFO] [stdout]   --> kernel/src/vfs/mod.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait FileSystem {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileHandle` is never constructed
[INFO] [stdout]   --> kernel/src/vfs/mod.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct FileHandle {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> kernel/src/vfs/mod.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl FileHandle {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 29 |     pub fn new(inode: usize, size: u64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_bytes` is never used
[INFO] [stdout]    --> kernel/src/vfs/ramfs.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl RamFs {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn read_bytes(&self, inode: usize) -> &[u8] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/arch/x86_64/gdt.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |         TSS.rsp0 = KERNEL_STACK.as_ptr().add(KERNEL_STACK.len()) as u64;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/arch/x86_64/gdt.rs:83:46
[INFO] [stdout]    |
[INFO] [stdout] 83 |         TSS.rsp0 = KERNEL_STACK.as_ptr().add(KERNEL_STACK.len()) as u64;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/arch/x86_64/gdt.rs:90:23
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let gdt_ptr = GDT.as_ptr() as *const u64;
[INFO] [stdout]    |                       ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/arch/x86_64/gdt.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let tss_base = &TSS as *const Tss as u64;
[INFO] [stdout]    |                        ^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let tss_base = &raw const TSS as *const Tss as u64;
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> kernel/src/arch/x86_64/gdt.rs:108:44
[INFO] [stdout]     |
[INFO] [stdout] 108 |             limit: (core::mem::size_of_val(&FULL_GDT) - 1) as u16,
[INFO] [stdout]     |                                            ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 108 |             limit: (core::mem::size_of_val(&raw const FULL_GDT) - 1) as u16,
[INFO] [stdout]     |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> kernel/src/arch/x86_64/gdt.rs:109:19
[INFO] [stdout]     |
[INFO] [stdout] 109 |             base: FULL_GDT.as_ptr() as u64,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:190:14
[INFO] [stdout]     |
[INFO] [stdout] 190 |         isr0  as u64, isr1  as u64, isr2  as u64, isr3  as u64,
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 190 |         isr0 as *const ()  as u64, isr1  as u64, isr2  as u64, isr3  as u64,
[INFO] [stdout]     |              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:190:28
[INFO] [stdout]     |
[INFO] [stdout] 190 |         isr0  as u64, isr1  as u64, isr2  as u64, isr3  as u64,
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 190 |         isr0  as u64, isr1 as *const ()  as u64, isr2  as u64, isr3  as u64,
[INFO] [stdout]     |                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:190:42
[INFO] [stdout]     |
[INFO] [stdout] 190 |         isr0  as u64, isr1  as u64, isr2  as u64, isr3  as u64,
[INFO] [stdout]     |                                          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 190 |         isr0  as u64, isr1  as u64, isr2 as *const ()  as u64, isr3  as u64,
[INFO] [stdout]     |                                          ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:190:56
[INFO] [stdout]     |
[INFO] [stdout] 190 |         isr0  as u64, isr1  as u64, isr2  as u64, isr3  as u64,
[INFO] [stdout]     |                                                        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 190 |         isr0  as u64, isr1  as u64, isr2  as u64, isr3 as *const ()  as u64,
[INFO] [stdout]     |                                                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:191:14
[INFO] [stdout]     |
[INFO] [stdout] 191 |         isr4  as u64, isr5  as u64, isr6  as u64, isr7  as u64,
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 191 |         isr4 as *const ()  as u64, isr5  as u64, isr6  as u64, isr7  as u64,
[INFO] [stdout]     |              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:191:28
[INFO] [stdout]     |
[INFO] [stdout] 191 |         isr4  as u64, isr5  as u64, isr6  as u64, isr7  as u64,
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 191 |         isr4  as u64, isr5 as *const ()  as u64, isr6  as u64, isr7  as u64,
[INFO] [stdout]     |                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:191:42
[INFO] [stdout]     |
[INFO] [stdout] 191 |         isr4  as u64, isr5  as u64, isr6  as u64, isr7  as u64,
[INFO] [stdout]     |                                          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 191 |         isr4  as u64, isr5  as u64, isr6 as *const ()  as u64, isr7  as u64,
[INFO] [stdout]     |                                          ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:191:56
[INFO] [stdout]     |
[INFO] [stdout] 191 |         isr4  as u64, isr5  as u64, isr6  as u64, isr7  as u64,
[INFO] [stdout]     |                                                        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 191 |         isr4  as u64, isr5  as u64, isr6  as u64, isr7 as *const ()  as u64,
[INFO] [stdout]     |                                                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 |         isr8  as u64, isr9  as u64, isr10 as u64, isr11 as u64,
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 192 |         isr8 as *const ()  as u64, isr9  as u64, isr10 as u64, isr11 as u64,
[INFO] [stdout]     |              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:192:28
[INFO] [stdout]     |
[INFO] [stdout] 192 |         isr8  as u64, isr9  as u64, isr10 as u64, isr11 as u64,
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 192 |         isr8  as u64, isr9 as *const ()  as u64, isr10 as u64, isr11 as u64,
[INFO] [stdout]     |                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:192:43
[INFO] [stdout]     |
[INFO] [stdout] 192 |         isr8  as u64, isr9  as u64, isr10 as u64, isr11 as u64,
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 192 |         isr8  as u64, isr9  as u64, isr10 as *const () as u64, isr11 as u64,
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:192:57
[INFO] [stdout]     |
[INFO] [stdout] 192 |         isr8  as u64, isr9  as u64, isr10 as u64, isr11 as u64,
[INFO] [stdout]     |                                                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 192 |         isr8  as u64, isr9  as u64, isr10 as u64, isr11 as *const () as u64,
[INFO] [stdout]     |                                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:193:15
[INFO] [stdout]     |
[INFO] [stdout] 193 |         isr12 as u64, isr13 as u64, isr14 as u64, isr15 as u64,
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 193 |         isr12 as *const () as u64, isr13 as u64, isr14 as u64, isr15 as u64,
[INFO] [stdout]     |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:193:29
[INFO] [stdout]     |
[INFO] [stdout] 193 |         isr12 as u64, isr13 as u64, isr14 as u64, isr15 as u64,
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 193 |         isr12 as u64, isr13 as *const () as u64, isr14 as u64, isr15 as u64,
[INFO] [stdout]     |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:193:43
[INFO] [stdout]     |
[INFO] [stdout] 193 |         isr12 as u64, isr13 as u64, isr14 as u64, isr15 as u64,
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 193 |         isr12 as u64, isr13 as u64, isr14 as *const () as u64, isr15 as u64,
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:193:57
[INFO] [stdout]     |
[INFO] [stdout] 193 |         isr12 as u64, isr13 as u64, isr14 as u64, isr15 as u64,
[INFO] [stdout]     |                                                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 193 |         isr12 as u64, isr13 as u64, isr14 as u64, isr15 as *const () as u64,
[INFO] [stdout]     |                                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:194:15
[INFO] [stdout]     |
[INFO] [stdout] 194 |         isr16 as u64, isr17 as u64, isr18 as u64, isr19 as u64,
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 194 |         isr16 as *const () as u64, isr17 as u64, isr18 as u64, isr19 as u64,
[INFO] [stdout]     |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:194:29
[INFO] [stdout]     |
[INFO] [stdout] 194 |         isr16 as u64, isr17 as u64, isr18 as u64, isr19 as u64,
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 194 |         isr16 as u64, isr17 as *const () as u64, isr18 as u64, isr19 as u64,
[INFO] [stdout]     |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:194:43
[INFO] [stdout]     |
[INFO] [stdout] 194 |         isr16 as u64, isr17 as u64, isr18 as u64, isr19 as u64,
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 194 |         isr16 as u64, isr17 as u64, isr18 as *const () as u64, isr19 as u64,
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:194:57
[INFO] [stdout]     |
[INFO] [stdout] 194 |         isr16 as u64, isr17 as u64, isr18 as u64, isr19 as u64,
[INFO] [stdout]     |                                                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 194 |         isr16 as u64, isr17 as u64, isr18 as u64, isr19 as *const () as u64,
[INFO] [stdout]     |                                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:195:15
[INFO] [stdout]     |
[INFO] [stdout] 195 |         isr20 as u64, isr21 as u64, isr22 as u64, isr23 as u64,
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 195 |         isr20 as *const () as u64, isr21 as u64, isr22 as u64, isr23 as u64,
[INFO] [stdout]     |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:195:29
[INFO] [stdout]     |
[INFO] [stdout] 195 |         isr20 as u64, isr21 as u64, isr22 as u64, isr23 as u64,
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 195 |         isr20 as u64, isr21 as *const () as u64, isr22 as u64, isr23 as u64,
[INFO] [stdout]     |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:195:43
[INFO] [stdout]     |
[INFO] [stdout] 195 |         isr20 as u64, isr21 as u64, isr22 as u64, isr23 as u64,
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 195 |         isr20 as u64, isr21 as u64, isr22 as *const () as u64, isr23 as u64,
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:195:57
[INFO] [stdout]     |
[INFO] [stdout] 195 |         isr20 as u64, isr21 as u64, isr22 as u64, isr23 as u64,
[INFO] [stdout]     |                                                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 195 |         isr20 as u64, isr21 as u64, isr22 as u64, isr23 as *const () as u64,
[INFO] [stdout]     |                                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:196:15
[INFO] [stdout]     |
[INFO] [stdout] 196 |         isr24 as u64, isr25 as u64, isr26 as u64, isr27 as u64,
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 196 |         isr24 as *const () as u64, isr25 as u64, isr26 as u64, isr27 as u64,
[INFO] [stdout]     |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:196:29
[INFO] [stdout]     |
[INFO] [stdout] 196 |         isr24 as u64, isr25 as u64, isr26 as u64, isr27 as u64,
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 196 |         isr24 as u64, isr25 as *const () as u64, isr26 as u64, isr27 as u64,
[INFO] [stdout]     |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:196:43
[INFO] [stdout]     |
[INFO] [stdout] 196 |         isr24 as u64, isr25 as u64, isr26 as u64, isr27 as u64,
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 196 |         isr24 as u64, isr25 as u64, isr26 as *const () as u64, isr27 as u64,
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:196:57
[INFO] [stdout]     |
[INFO] [stdout] 196 |         isr24 as u64, isr25 as u64, isr26 as u64, isr27 as u64,
[INFO] [stdout]     |                                                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 196 |         isr24 as u64, isr25 as u64, isr26 as u64, isr27 as *const () as u64,
[INFO] [stdout]     |                                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:197:15
[INFO] [stdout]     |
[INFO] [stdout] 197 |         isr28 as u64, isr29 as u64, isr30 as u64, isr31 as u64,
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 197 |         isr28 as *const () as u64, isr29 as u64, isr30 as u64, isr31 as u64,
[INFO] [stdout]     |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:197:29
[INFO] [stdout]     |
[INFO] [stdout] 197 |         isr28 as u64, isr29 as u64, isr30 as u64, isr31 as u64,
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 197 |         isr28 as u64, isr29 as *const () as u64, isr30 as u64, isr31 as u64,
[INFO] [stdout]     |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:197:43
[INFO] [stdout]     |
[INFO] [stdout] 197 |         isr28 as u64, isr29 as u64, isr30 as u64, isr31 as u64,
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 197 |         isr28 as u64, isr29 as u64, isr30 as *const () as u64, isr31 as u64,
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:197:57
[INFO] [stdout]     |
[INFO] [stdout] 197 |         isr28 as u64, isr29 as u64, isr30 as u64, isr31 as u64,
[INFO] [stdout]     |                                                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 197 |         isr28 as u64, isr29 as u64, isr30 as u64, isr31 as *const () as u64,
[INFO] [stdout]     |                                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:198:15
[INFO] [stdout]     |
[INFO] [stdout] 198 |         isr32 as u64, isr33 as u64, isr34 as u64, isr35 as u64,
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 198 |         isr32 as *const () as u64, isr33 as u64, isr34 as u64, isr35 as u64,
[INFO] [stdout]     |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:198:29
[INFO] [stdout]     |
[INFO] [stdout] 198 |         isr32 as u64, isr33 as u64, isr34 as u64, isr35 as u64,
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 198 |         isr32 as u64, isr33 as *const () as u64, isr34 as u64, isr35 as u64,
[INFO] [stdout]     |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:198:43
[INFO] [stdout]     |
[INFO] [stdout] 198 |         isr32 as u64, isr33 as u64, isr34 as u64, isr35 as u64,
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 198 |         isr32 as u64, isr33 as u64, isr34 as *const () as u64, isr35 as u64,
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:198:57
[INFO] [stdout]     |
[INFO] [stdout] 198 |         isr32 as u64, isr33 as u64, isr34 as u64, isr35 as u64,
[INFO] [stdout]     |                                                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 198 |         isr32 as u64, isr33 as u64, isr34 as u64, isr35 as *const () as u64,
[INFO] [stdout]     |                                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:199:15
[INFO] [stdout]     |
[INFO] [stdout] 199 |         isr36 as u64, isr37 as u64, isr38 as u64, isr39 as u64,
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 199 |         isr36 as *const () as u64, isr37 as u64, isr38 as u64, isr39 as u64,
[INFO] [stdout]     |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:199:29
[INFO] [stdout]     |
[INFO] [stdout] 199 |         isr36 as u64, isr37 as u64, isr38 as u64, isr39 as u64,
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 199 |         isr36 as u64, isr37 as *const () as u64, isr38 as u64, isr39 as u64,
[INFO] [stdout]     |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:199:43
[INFO] [stdout]     |
[INFO] [stdout] 199 |         isr36 as u64, isr37 as u64, isr38 as u64, isr39 as u64,
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 199 |         isr36 as u64, isr37 as u64, isr38 as *const () as u64, isr39 as u64,
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:199:57
[INFO] [stdout]     |
[INFO] [stdout] 199 |         isr36 as u64, isr37 as u64, isr38 as u64, isr39 as u64,
[INFO] [stdout]     |                                                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 199 |         isr36 as u64, isr37 as u64, isr38 as u64, isr39 as *const () as u64,
[INFO] [stdout]     |                                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:200:15
[INFO] [stdout]     |
[INFO] [stdout] 200 |         isr40 as u64, isr41 as u64, isr42 as u64, isr43 as u64,
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 200 |         isr40 as *const () as u64, isr41 as u64, isr42 as u64, isr43 as u64,
[INFO] [stdout]     |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:200:29
[INFO] [stdout]     |
[INFO] [stdout] 200 |         isr40 as u64, isr41 as u64, isr42 as u64, isr43 as u64,
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 200 |         isr40 as u64, isr41 as *const () as u64, isr42 as u64, isr43 as u64,
[INFO] [stdout]     |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:200:43
[INFO] [stdout]     |
[INFO] [stdout] 200 |         isr40 as u64, isr41 as u64, isr42 as u64, isr43 as u64,
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 200 |         isr40 as u64, isr41 as u64, isr42 as *const () as u64, isr43 as u64,
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:200:57
[INFO] [stdout]     |
[INFO] [stdout] 200 |         isr40 as u64, isr41 as u64, isr42 as u64, isr43 as u64,
[INFO] [stdout]     |                                                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 200 |         isr40 as u64, isr41 as u64, isr42 as u64, isr43 as *const () as u64,
[INFO] [stdout]     |                                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:201:15
[INFO] [stdout]     |
[INFO] [stdout] 201 |         isr44 as u64, isr45 as u64, isr46 as u64, isr47 as u64,
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 201 |         isr44 as *const () as u64, isr45 as u64, isr46 as u64, isr47 as u64,
[INFO] [stdout]     |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:201:29
[INFO] [stdout]     |
[INFO] [stdout] 201 |         isr44 as u64, isr45 as u64, isr46 as u64, isr47 as u64,
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 201 |         isr44 as u64, isr45 as *const () as u64, isr46 as u64, isr47 as u64,
[INFO] [stdout]     |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:201:43
[INFO] [stdout]     |
[INFO] [stdout] 201 |         isr44 as u64, isr45 as u64, isr46 as u64, isr47 as u64,
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 201 |         isr44 as u64, isr45 as u64, isr46 as *const () as u64, isr47 as u64,
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:201:57
[INFO] [stdout]     |
[INFO] [stdout] 201 |         isr44 as u64, isr45 as u64, isr46 as u64, isr47 as u64,
[INFO] [stdout]     |                                                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 201 |         isr44 as u64, isr45 as u64, isr46 as u64, isr47 as *const () as u64,
[INFO] [stdout]     |                                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:216:35
[INFO] [stdout]     |
[INFO] [stdout] 216 |             IDT[i].set(isr_ignore as u64, 0x08, 0, attr_int);
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 216 |             IDT[i].set(isr_ignore as *const () as u64, 0x08, 0, attr_int);
[INFO] [stdout]     |                                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:222:30
[INFO] [stdout]     |
[INFO] [stdout] 222 |         IDT[0x80].set(isr128 as u64, 0x08, 0, 0xEF);
[INFO] [stdout]     |                              ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 222 |         IDT[0x80].set(isr128 as *const () as u64, 0x08, 0, 0xEF);
[INFO] [stdout]     |                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:225:44
[INFO] [stdout]     |
[INFO] [stdout] 225 |             limit: (core::mem::size_of_val(&IDT) - 1) as u16,
[INFO] [stdout]     |                                            ^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 225 |             limit: (core::mem::size_of_val(&raw const IDT) - 1) as u16,
[INFO] [stdout]     |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> kernel/src/arch/x86_64/idt.rs:226:20
[INFO] [stdout]     |
[INFO] [stdout] 226 |             base:  IDT.as_ptr() as u64,
[INFO] [stdout]     |                    ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/arch/x86_64/paging.rs:33:28
[INFO] [stdout]    |
[INFO] [stdout] 33 |         PML4.entries[0] = (PDPT.entries.as_ptr() as u64) | PAGE_PRESENT | PAGE_WRITABLE;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/arch/x86_64/paging.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let pml4_addr = PML4.entries.as_ptr() as u64;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/drivers/keyboard/arch/x86_64.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         INPUT.push(sc);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/drivers/keyboard/arch/x86_64.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 |     unsafe { INPUT.pop() }
[INFO] [stdout]    |              ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/drivers/serial/arch/x86_64.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             INPUT.push(port::inb(COM1));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/drivers/serial/arch/x86_64.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |         if let Some(b) = INPUT.pop() {
[INFO] [stdout]    |                          ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         ROOT_FS.init_root();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         ROOT_FS.mkdir("/etc",  0, 0, 0, 0o755);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         ROOT_FS.mkdir("/home", 0, 0, 0, 0o755);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         ROOT_FS.mkdir("/tmp",  0, 0, 0, 0o777);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         ROOT_FS.write("/etc/hostname", 0, b"ferrum\n",           0, 0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         ROOT_FS.write("/etc/motd",     0, b"Welcome to Ferrum!\n", 0, 0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         ROOT_FS.mkdir("/home/ferrum",  0, 1000, 1000, 0o755);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { ROOT_FS.write(path, 0, data, 0, 0) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { ROOT_FS.read_at(path, 0, 0, 0) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |     unsafe { ROOT_FS.mkdir(path, cwd, uid, gid, mode) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |     unsafe { ROOT_FS.rmdir(path, cwd, uid, gid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { ROOT_FS.touch(path, cwd, uid, gid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |     unsafe { ROOT_FS.unlink(path, cwd, uid, gid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |     unsafe { ROOT_FS.write(path, cwd, data, uid, gid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |     unsafe { ROOT_FS.read_at(path, cwd, uid, gid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe { ROOT_FS.chmod(path, cwd, mode, caller_uid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { ROOT_FS.chown(path, cwd, new_uid, new_gid, caller_uid) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 |     unsafe { ROOT_FS.resolve(path, cwd) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:75:14
[INFO] [stdout]    |
[INFO] [stdout] 75 |     unsafe { ROOT_FS.inode_path(idx, buf) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 |     unsafe { ROOT_FS.is_dir(path, cwd) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 |     unsafe { ROOT_FS.list_dir(path, cwd, f) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:92:28
[INFO] [stdout]    |
[INFO] [stdout] 92 |         if let Some(idx) = ROOT_FS.resolve(path, cwd) {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> kernel/src/fs/mod.rs:93:34
[INFO] [stdout]    |
[INFO] [stdout] 93 |             if let Some(inode) = ROOT_FS.get_inode(idx) {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> kernel/src/fs/mod.rs:103:14
[INFO] [stdout]     |
[INFO] [stdout] 103 |     unsafe { ROOT_FS.rename(src, dst, cwd, uid, gid) }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/memory/mod.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     unsafe { BUMP.reset(); }
[INFO] [stdout]    |              ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/memory/mod.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |     unsafe { BUMP.alloc(pages * 4096) }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> kernel/src/memory/heap.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let h = HEAP_MEM.as_mut_ptr() as *mut Header;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> kernel/src/scheduler/mod.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |         for (i, slot) in TASKS.iter().enumerate() {
[INFO] [stdout]     |                          ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kernel` (bin "kernel") due to 42 previous errors; 151 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fbb8c873c79c3740e1078139fd9f8c7c9e441894f2b1d4563afcbd58ea41db9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fbb8c873c79c3740e1078139fd9f8c7c9e441894f2b1d4563afcbd58ea41db9d", kill_on_drop: false }`
[INFO] [stdout] fbb8c873c79c3740e1078139fd9f8c7c9e441894f2b1d4563afcbd58ea41db9d
